<!DOCTYPE html> 
<html lang="en">
	
	<head>				
  	    <meta charset="utf-8">  
	    <meta name="layout" content="default">
	</head> 
	
	
	<body>
		
              <div id="login-form-container">

                  <g:message code="springSecurity.login.header"/>

		<g:if test='${flash.message}'>
			<div class='login_message'>${flash.message}</div>
		</g:if>
                  </p>

		<form action='${postUrl}' method='POST' id='loginForm' class='cssform' autocomplete='off'>
			<p>
				<label for='username'><g:message code="springSecurity.login.username.label"/>:</label>
				<input type='text' class='text_' name='j_username' id='username'/>
			</p>

			<p>
				<label for='password'><g:message code="springSecurity.login.password.label"/>:</label>
				<input type='password' class='text_' name='j_password' id='password'/>
			</p>

			<p>
				<input type='submit' id="submit" value='${message(code: "springSecurity.login.button")}' class="submit"/>
			</p> 
		</form>
	</div>
    
<script type='text/javascript'>
	<!--
	(function() {
		document.forms['loginForm'].elements['j_username'].focus();
	})();
	// -->
</script>                        
           
	</body>
	
</html>